package com.cr.front.vehicle.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cr.front.vehicle.pojo.entity.Vehicle;
import com.cr.front.vehicle.pojo.query.DayRentVehicleInfoQuery;
import com.cr.front.vehicle.pojo.query.MonthRentVehicleInfoQuery;
import com.cr.front.vehicle.pojo.vo.DayRentVehicleInfoVO;
import com.cr.front.vehicle.pojo.vo.VehicleIndexVO;
import com.cr.front.vehicle.pojo.vo.monthVehicleInfoVO;

import java.util.List;


public interface VehicleMapper extends BaseMapper<Vehicle> {
    List<VehicleIndexVO> selectIndexVehicles(Character rentType);

    List<DayRentVehicleInfoVO> dayRentVehicleInfo(DayRentVehicleInfoQuery dayRentVehicleInfoQuery);

    Integer selectVehicleCount(DayRentVehicleInfoQuery dayRentVehicleInfoQuery);

    monthVehicleInfoVO monthVehicleInfoVO(MonthRentVehicleInfoQuery monthRentVehicleInfoQuery);
}
